package demo4j.model;

import apijson.MethodAccess;
import apijson.framework.BaseModel;
import lombok.*;

import static apijson.orm.AbstractVerifier.*;

/**
 * 用户隐私信息
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@MethodAccess(GET = {}, GETS = {OWNER, ADMIN}, POST = {UNKNOWN, ADMIN}, DELETE = {ADMIN})
public class Privacy extends BaseModel {
    private String phone; //手机
    private String _password; //登录密码，隐藏字段
    private String payPassword; //支付密码，隐藏字段
    private Double balance;    //余额
}
